package io.lckgroup.modules.lck.entity.qo;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author huangrui
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
@ApiModel(value = "微信用户基本信息补录（更新）")
public class updateCustBaseQo {
    /**
     * 顾客ID
     */

    @ApiModelProperty(value = "id", dataType = "String", required = true)
    private Long id;

    @ApiModelProperty(value = "家长id", dataType = "String", required = true)
    private Long userId;

    /**
     * 真实姓名
     */
    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "必填，姓名", dataType = "String", required = true)
    private String name;

    @ApiModelProperty(value = "必填，电话", dataType = "String", required = true)
    private String phone;

    @ApiModelProperty(value = "必填，地址", dataType = "String", required = true)
    private String addr;


    @ApiModelProperty(value = "", dataType = "String", required = true)
    private String role;

    @NotBlank(message = "性别不能为空")
    @ApiModelProperty(value = "必填，性别", dataType = "String", required = true)
    private String sex;

    @NotBlank(message = "年龄不能为空")
    @ApiModelProperty(value = "必填，年龄", dataType = "int", required = true)
    private int age;

    @ApiModelProperty(value = "商家id", dataType = "int", required = true)
    private int merchantId;

    @ApiModelProperty(value = "", dataType = "String", required = true)
    private String userImg;


    @ApiModelProperty(value = "必填，入学时间", dataType = "String", required = true)
    private String goDate;
}
